package Parser;

import lowlevel.CodeItem;
import scanner.*;
import scanner.Token.TokenType;
/**
 * Abstract parent class for decls
 */
abstract public class Decl {
    
    protected Identifier id;
    protected TokenType type;
    
    Decl(Identifier id, TokenType typeToken){
        this.id = id;
        this.type = typeToken;
    }
    
    public abstract CodeItem genLLCode();
    abstract void print(String indent);
    
}
